---
layout: default
---

<div class="catalogue">
  {% for post in paginator.posts %}
    <a href="{{ post.url | prepend: site.baseurl }}" class="catalogue-item">
      <div>
        <h1 class="catalogue-title">{{ post.title }}</h1>
        <div class="catalogue-line"></div>

        <!-- <p>
          {{ post.content | strip_html | truncatewords: 30 }}
        </p> -->

      </div>
      <div style="display: flex; flex-direction: row !important; justify-content: space-between !important;">
        <div>
          {% if post.author %}
              {{ post.author }}
          {% else %}
              {{ site.author.name }}
          {% endif %}
        </div>
        <time datetime="{{ post.date }}" class="catalogue-time">{{ post.date | date: "%Y ᠤᠨ ᠦ %m ᠰᠠᠷ᠎ᠠ ᠶᠢᠨ %d" }}</time>
      </div>
    </a>
  {% endfor %}
</div>

<div class="pagination">
  {% if paginator.previous_page %}
    <a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="left arrow">&#8592;</a>
  {% endif %}
  {% if paginator.next_page %}
    <a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="right arrow">&#8594;</a>
  {% endif %}

  <span>{{ paginator.page }}</span>
</div>
